package cn.kgm.bridge;

public class Circle extends Shape {
    private int x, y, radius;

    public Circle(int x, int y, int radius, DrawAPI drawAPI) {
        // 相当于给父类属性赋值，然后继承父类的此变量，直接使用
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    @Override
    void draw() {
        super.drawAPI.drawCircle(1, 1, 1);
    }
}

